package com.pencilisland.pay.api.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 订单收货地址
 * 
 * @author Breeze
 *
 */
@Entity
@Table(name = "PI_ORDER_ADDRESS")
public class OrderAddressEntity {
	/**
	 * 订单号
	 */
	@Id
	@Column(name = "ORDER_NO", length = 100)
	private String orderNo;
	/**
	 * 收货人姓名
	 */
	@Column(name = "USER_NAME", length = 100)
	private String userName;
	/**
	 * 邮编
	 */
	@Column(name = "POSTAL_CODE", length = 20)
	private String postalCode;
	/**
	 * 国标收货地址第一级地址
	 */
	@Column(name = "PROVINCE_NAME", length = 100)
	private String provinceName;
	/**
	 * 国标收货地址第二级地址
	 */
	@Column(name = "CITY_NAME", length = 100)
	private String cityName;
	/**
	 * 国标收货地址第三级地址
	 */
	@Column(name = "COUNTY_NAME", length = 100)
	private String countyName;
	/**
	 * 详细收货地址信息
	 */
	@Column(name = "DETAIL_INFO", length = 200)
	private String detailInfo;
	/**
	 * 收货地址国家码
	 */
	@Column(name = "NATIONAL_CODE", length = 20)
	private String nationalCode;
	/**
	 * 电话号码
	 */
	@Column(name = "TEL_NUMBER", length = 30)
	private String telNumber;
	/**
	 * 微信openId
	 */
	@Column(name = "OPEN_ID", length = 100)
	private String openId;
	/**
	 * 订单时间
	 */
	@Column(name = "ORDER_TIME", length = 20)
	private String orderTime;

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPostalCode() {
		return postalCode;
	}

	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getCountyName() {
		return countyName;
	}

	public void setCountyName(String countyName) {
		this.countyName = countyName;
	}

	public String getDetailInfo() {
		return detailInfo;
	}

	public void setDetailInfo(String detailInfo) {
		this.detailInfo = detailInfo;
	}

	public String getNationalCode() {
		return nationalCode;
	}

	public void setNationalCode(String nationalCode) {
		this.nationalCode = nationalCode;
	}

	public String getTelNumber() {
		return telNumber;
	}

	public void setTelNumber(String telNumber) {
		this.telNumber = telNumber;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getOrderTime() {
		return orderTime;
	}

	public void setOrderTime(String orderTime) {
		this.orderTime = orderTime;
	}
}
